package com.sui.bigdata.sml.web.service;

import com.sui.bigdata.sml.web.dto.ExperimentDTO;
import com.sui.bigdata.sml.web.dto.ProjectDTO;

import java.util.List;

/**
 * @author songhaicheng
 * @date 2019/11/6 11:25
 * @description
 * @reviewer
 */
public interface ExperimentService {

    Long add(ExperimentDTO dto);

    ExperimentDTO get(Long id);

    Boolean update(ExperimentDTO dto);

    Boolean delete(Long id);

    List<ExperimentDTO> listByProject(ProjectDTO projectDto, Boolean delete);

}
